package com.billManage.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.billManage.common.annotation.Excel;
import com.billManage.common.core.domain.BaseEntity;

/**
 * 票据管理审核记录对象 sys_bill_record
 * 
 * @author ruoyi
 * @date 2024-05-18
 */
public class SysBillRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 票据审核id */
    private Long billRecordId;

    /** 票据申请id */
    private Long billId;

    /** 原因 */
    @Excel(name = "原因")
    private String reason;

    /** 审核人 */
    @Excel(name = "审核人")
    private String reviewBy;

    /** 审核时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "审核时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date reviewTime;

    /** 状态（0 待审核 1已通过, 2未通过） */
    @Excel(name = "状态", readConverterExp = "0=,待=审核,1=已通过,,2=未通过")
    private String status;

    /** 是否删除 0正常 1删除 */
    @Excel(name = "是否删除 0正常 1删除")
    private String delFlg;

    public void setBillRecordId(Long billRecordId) 
    {
        this.billRecordId = billRecordId;
    }

    public Long getBillRecordId() 
    {
        return billRecordId;
    }
    public void setBillId(Long billId)
    {
        this.billId = billId;
    }

    public Long getBillId()
    {
        return billId;
    }
    public void setReason(String reason) 
    {
        this.reason = reason;
    }

    public String getReason() 
    {
        return reason;
    }
    public void setReviewBy(String reviewBy) 
    {
        this.reviewBy = reviewBy;
    }

    public String getReviewBy() 
    {
        return reviewBy;
    }
    public void setReviewTime(Date reviewTime) 
    {
        this.reviewTime = reviewTime;
    }

    public Date getReviewTime() 
    {
        return reviewTime;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setDelFlg(String delFlg) 
    {
        this.delFlg = delFlg;
    }

    public String getDelFlg() 
    {
        return delFlg;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("billRecordId", getBillRecordId())
            .append("billId", getBillId())
            .append("reason", getReason())
            .append("reviewBy", getReviewBy())
            .append("reviewTime", getReviewTime())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("delFlg", getDelFlg())
            .toString();
    }
}
